home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / efun / set_connection_charset < prev    next >
Text File  |  2001-04-06  |  1KB  |  29 lines

  1. SYNOPSIS
  2.         void set_connection_charset (int* bitvector, int quote_iac)
  3.         void set_connection_charset (string charset, int quote_iac)
  4.  
  5. DESCRIPTION
  6.         Set the set of characters that can be output to the interactive
  7.         user (this does not apply to binary_message() ). The function must
  8.         be called by the interactive user object itself.
  9.  
  10.         The charset can be given either directly as a string, or indirectly
  11.         as a bitvector.
  12.  
  13.         The bitvector is interpreted as an array of 8-bit-values and might
  14.         contain up to 32 elements. Character n is allowed to be output
  15.         if sizeof(bitvector) > n/8 && bitvector[n/8] & (1 << n%8) .
  16.  
  17.         If quote_iac is 0 and char 255 is allowed to be output,        IAC
  18.         will be output unmodified.
  19.         If quote_iac is 1 and char 255 is allowed to be output,
  20.         char 255 will be quoted so that it is not interpreted as IAC
  21.         by the telnet protocol.
  22.  
  23. HISTORY
  24.         Introduced in 3.2.1@40.
  25.         LDMud 3.2.8 added the ability to specify the charset as a string.
  26.  
  27. SEE ALSO
  28.         binary_message(E)
  29.